MODULE	'exec/nodes',
			'exec/ports',
			'exec/tasks'

OBJECT SemaphoreRequest|SSR
	MLN:MLN,
	Waiter:PTR TO TC

OBJECT SignalSemaphore|SS
	LN:LN,
	NestCount:INT,
	WaitQueue:MLH,
	MultipleLink:SSR,
	Owner:PTR TO TC,
	QueueCount:INT

OBJECT SemaphoreMessage
	MN:MN,
	Semaphore:PTR TO SS

OBJECT Semaphore|SM
	MP:MP,
	Bids:INT

CONST	SM_LOCKMSG=16,
		SM_SHARED=1,
		SM_EXCLUSIVE=0
